//
//  LoginvView.swift
//  imprint
//
//  Created by 小柠檬🍋 on 2025/1/12.
//

import SwiftUI

/**
 *  加载试图
 */
struct LoadView: View {
    var body: some View {
        VStack {
            ProgressView()
                .progressViewStyle(CircularProgressViewStyle())
                .padding()
            Text("加载中...")
                .font(.subheadline)
                .foregroundColor(.secondary)
        }.frame(width: 100,height: 100)
            .background(.bgDialog)
            .cornerRadius(15)
            .shadow(color: Color.black.opacity(0.2), radius: 10, x: 0, y: 2)
    }
}

#Preview {
    LoadView()
}
